//
//  CQNetWorkTools.h
//
//  Created by chen on 14/11/19.
//  Copyright © 2014年 chen. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CQNetWorkTools : NSObject
+ (void)GETCachesWithURL:(NSString *)urlStr
               par:(NSDictionary *)dic
           success:(void(^)(id responseObject))responseObj
            failed:(void(^)(NSError *error))error;

+ (void)POSTCachesWithURL:(NSString *)urlStr
                par:(NSDictionary *)dic
            success:(void(^)(id responseObject))response
              filed:(void(^)(NSError *error))err;

+ (void)GETWithURL:(NSString *)urlStr
               par:(NSDictionary *)dic
           success:(void(^)(id responseObject))responseObj
             filed:(void(^)(NSError *error))error;

+ (void)POSTWithURL:(NSString *)urlStr
                par:(NSDictionary *)dic
            success:(void(^)(id responseObject))response
              filed:(void(^)(NSError *error))err;
@end
